Skip to content

feat: add image registry#1427

Open
jbrockopp wants to merge 8 commits intomainfrom
feat/image_registry
Open

feat: add image registry#1427
jbrockopp wants to merge 8 commits intomainfrom
feat/image_registry

Conversation

@jbrockopp
Copy link
Copy Markdown
Contributor

@jbrockopp jbrockopp commented Mar 31, 2026

xref: go-vela/community#1066

Based off of go-vela/community#1076 - Related to go-vela/ui#953

This is the Vela pipeline I used to test this behavior locally:

version: "1"

steps:
  - name: sleep
    image: alpine:latest
    commands:
      - sleep 10
      - echo "10 seconds v1"
      - sleep 10
      - echo "10 seconds v2"
      - sleep 10
      - echo "10 seconds v3"
      - sleep 10
      - echo "10 seconds v4"
      - sleep 10
      - echo "10 seconds v5"

Warning

An example where alpine:latest is provided for the warning level in the image registry:

image

An example where alpine:* is provided for the warning level in the image registry:

image

Blocked

An example where alpine:latest is provided for the blocked level in the image registry:

image

An example where alpine:* is provided for the blocked level in the image registry:

image

An example where a previous build is restarted that uses an image from the blocked level in the image registry:

image
Status 500 (unable to restart build: unable to compile pipeline configuration for JordanBrockopp/vela-play: 1 error occurred:
	* image alpine:latest for container sleep is blocked: demo blocked for all tags of specific image
)

@jbrockopp jbrockopp self-assigned this Mar 31, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2026

Codecov Report

❌ Patch coverage is 54.07407% with 62 lines in your changes missing coverage. Please review.
✅ Project coverage is 57.99%. Comparing base (c66358c) to head (2098688).

Files with missing lines Patch % Lines
api/admin/settings.go 0.00% 16 Missing ⚠️
api/types/settings/compiler.go 69.56% 12 Missing and 2 partials ⚠️
database/types/settings.go 26.66% 11 Missing ⚠️
compiler/native/compile.go 20.00% 4 Missing and 4 partials ⚠️
api/build/compile_publish.go 0.00% 7 Missing ⚠️
compiler/native/validate.go 88.57% 2 Missing and 2 partials ⚠️
compiler/native/settings.go 0.00% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1427      +/-   ##
==========================================
- Coverage   58.01%   57.99%   -0.03%     
==========================================
  Files         663      663              
  Lines       25588    25723     +135     
==========================================
+ Hits        14845    14918      +73     
- Misses      10043    10097      +54     
- Partials      700      708       +8     
Files with missing lines Coverage Δ
compiler/native/native.go 78.70% <100.00%> (+0.81%) ⬆️
compiler/native/parse.go 87.09% <ø> (ø)
database/settings/table.go 100.00% <ø> (ø)
scm/github/authentication.go 82.27% <ø> (ø)
compiler/native/settings.go 0.00% <0.00%> (ø)
compiler/native/validate.go 93.19% <88.57%> (-1.45%) ⬇️
api/build/compile_publish.go 0.00% <0.00%> (ø)
compiler/native/compile.go 73.96% <20.00%> (-1.65%) ⬇️
database/types/settings.go 60.86% <26.66%> (-4.18%) ⬇️
api/types/settings/compiler.go 76.74% <69.56%> (-8.26%) ⬇️
... and 1 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jbrockopp jbrockopp marked this pull request as ready for review April 10, 2026 19:03
@jbrockopp jbrockopp requested a review from a team as a code owner April 10, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant